import layout from '@/layout'
export default {
  path: '/dish',
  name: 'dish',
  component: layout,
  children: [{
    path: '',
    name: 'dish',
    component: () => import('@/views/dish'),
    meta: {
      title: '菜品管理',
      icon: 'dish'
    }
  }, {
    path: '/dish/list',
    name: 'addDish',
    component: () => import('@/views/dish/list'),
    meta: {
      title: '添加菜品',
      activeMenu: '/dish'
    },
    hidden: true
  },
  {
    path: '/dish/list',
    name: 'editDish',
    component: () => import('@/views/dish/list'),
    meta: {
      title: '修改菜品',
      activeMenu: '/dish'
    },
    hidden: true
  }]
}
